﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using FinApp.DataProviders.Enumerations;
using System.Collections.Generic;
using FinApp.Model;
using System.Collections.ObjectModel;
using FinApp.DataProviders.EventArguments.Base;

namespace FinApp.DataProviders.EventArguments {

    public delegate void CardCompleteEventHandler(object sender, CardEventArgs e);

    public class CardEventArgs : ServerEventArgsBase {

        #region Members

        private CardStatusModel cardStatusModel;

        #endregion

        #region Constructors

        public CardEventArgs(ProviderResponseEnumeration loginStatus, string message, CardStatusModel cardStatusModel)
            : base(loginStatus, message) {
            this.cardStatusModel = cardStatusModel;
        }

        #endregion

        #region Properties

        public CardStatusModel CardStatusModel {
            get { return cardStatusModel; }
        }

        #endregion
    }
}
